package com.hhe.datax_transfer.model;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * DataXJob监控控制信息Model
 *
 * @author HHe
 * @version V1.0
 * @date 2021/1/15 15:05
 */
@Getter
@Setter
@ToString
public class DataxMonitoringControlModel {
    /**
     * 全路径名
     */
    private String fullPathName;

    /**
     * 状态,'1'为执行中，'0'为未运行
     */
    private char status;

    /**
     * 执行线程信息
     */
    private Thread executeThreadMess;

    public DataxMonitoringControlModel(String fullPathName, char status) {
        this.fullPathName = fullPathName;
        this.status = status;
    }

    public DataxMonitoringControlModel(String fullPathName, Thread executeThreadMess) {
        this.fullPathName = fullPathName;
        this.executeThreadMess = executeThreadMess;
    }

    public DataxMonitoringControlModel() {
    }
}
